﻿@model  NH_Entity.QHY_User 
@{
    ViewBag.Title = "LogOn";
    Layout = "~/Views/Shared/_AdminLogon.cshtml";
}
@using (Html.BeginForm())
{ 

    <div class="panel-c-l">
        <table cellpadding="0" cellspacing="0">
            <tbody>
                <tr>
                    <td align="left" colspan="2">
                        <h3>
                            请使用系统账号登陆</h3>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        账号：
                    </td>
                    <td align="left">
                        @Html.TextBoxFor(m => m.UserName)
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        密码：
                    </td>
                    <td align="left">
                        @Html.TextBoxFor(m => m.Password)
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <input type="submit" id="btnLogin" value="登陆" class="login-btn" />
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2" style="color: Red">
                        @Html.ValidationMessageFor(m => m.UserName)
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div class="panel-c-r">
        <p>
            请从左侧输入登录账号和密码登录</p>
        <p>
            如果遇到系统问题，请联系网络管理员。</p>
        <p>
            如果没有账号，请注册。
        </p>
        <p>
            @Html.ActionLink("注册", "Register")</p>
    </div>
}